home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSS2222PPPP((((1111)))) SSSS2222PPPP((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- s2p - Sed to Perl translator
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssss2222pppp [[[[ooooppppttttiiiioooonnnnssss]]]] ffffiiiilllleeeennnnaaaammmmeeee
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _S_2_p takes a sed script specified on the command line (or from standard
- input) and produces a comparable _p_e_r_l script on the standard output.
-
- OOOOppppttttiiiioooonnnnssss
-
- Options include:
-
- ----DDDD<<<<nnnnuuuummmmbbbbeeeerrrr>>>>
- sets debugging flags.
-
- ----nnnn specifies that this sed script was always invoked with a sssseeeedddd ----nnnn.
- Otherwise a switch parser is prepended to the front of the script.
-
- ----pppp specifies that this sed script was never invoked with a sssseeeedddd ----nnnn.
- Otherwise a switch parser is prepended to the front of the script.
-
- CCCCoooonnnnssssiiiiddddeeeerrrraaaattttiiiioooonnnnssss
-
- The perl script produced looks very sed-ish, and there may very well be
- better ways to express what you want to do in perl. For instance, s2p
- does not make any use of the split operator, but you might want to.
-
- The perl script you end up with may be either faster or slower than the
- original sed script. If you're only interested in speed you'll just have
- to try it both ways. Of course, if you want to do something sed doesn't
- do, you have no choice. It's often possible to speed up the perl script
- by various methods, such as deleting all references to $\ and chop.
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
- S2p uses no environment variables.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Larry Wall <_l_a_r_r_y@_w_a_l_l._o_r_g>
-
- FFFFIIIILLLLEEEESSSS
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- perl The perl compiler/interpreter
-
- a2p awk to perl translator
-
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- SSSS2222PPPP((((1111)))) SSSS2222PPPP((((1111))))
-
-
-
- BUGS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
-